package com.doubao.doubao_admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doubao.doubao_admin.model.entity.BmsPromotion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface BmsPromotionMapper extends BaseMapper<BmsPromotion> {
    @Select("select * from bms_promotion")
    List<BmsPromotion> getBmsPromotions();
}
